#ifndef DUMMYDATA_H
#define DUMMYDATA_H

#include <QObject>
#include <QTime>
#include "participant.h"
#include "activity.h"
#define JAKOB

namespace Data {
    class DummyData;
};

class DummyData : public QObject
{
    Q_OBJECT

#ifdef JAKOB
#define MICHAEL_RAHR char Participant1[] = {0x04, 0xec, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define JAKOB_JENSEN char Participant2[] = {0x04, 0xeb, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define HENRIK_JOERGENSEN char Participant3[] = {0x04, 0xea, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define NIELS_LUNDIN char Participant4[] = {0x04, 0xe9, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define HANSEMAN_LUGTER char Participant5[] = {0x04, 0xe8, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define FRANK_KLOVN_HVAM char Participant6[] = {0x04, 0xe7, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define CASPER_CHRISTENSEN char Participant7[] = {0x04, 0xe6, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define JESPER_CHRISTENSEN char Participant8[] = {0x04, 0xe5, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define FINN_NISSEN char Participant9[] =    {0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10};
#define UFFE_ELLEMAND char Participant10[] =    {0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20};
#endif

#ifdef MICHAEL
#define MICHAEL_RAHR char Participant1[] =          {0x04, 0xe2, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define JAKOB_JENSEN char Participant2[] =          {0x04, 0xe1, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define HENRIK_JOERGENSEN char Participant3[] =     {0x04, 0xe0, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define NIELS_LUNDIN char Participant4[] =          {0x04, 0xdf, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define HANSEMAN_LUGTER char Participant5[] =       {0x04, 0xde, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define FRANK_KLOVN_HVAM char Participant6[] =      {0x04, 0xdd, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define CASPER_CHRISTENSEN char Participant7[] =    {0x04, 0xe4, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define JESPER_CHRISTENSEN char Participant8[] =    {0x04, 0xe3, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define FINN_NISSEN char Participant9[] =    {0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10};
#define UFFE_ELLEMAND char Participant10[] =    {0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20};
#endif

#ifdef A1B
#define Bent char Participant1[] =              {0x04, 0x0f, 0xbf, 0xb9, 0xca, 0x02, 0x81};
#define Mie char Participant2[] =               {0x04, 0x10, 0xbf, 0xb9, 0xca, 0x02, 0x81};
#define Jonas char Participant3[] =             {0x04, 0xbd, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Inge char Participant4[] =              {0x04, 0xbc, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Maja char Participant5[] =              {0x04, 0x11, 0xbf, 0xb9, 0xca, 0x02, 0x81};
#define Joergen char Participant6[] =           {0x04, 0x12, 0xbf, 0xb9, 0xca, 0x02, 0x81};
#define Nikolaj char Participant7[] =           {0x04, 0xbf, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Malthe char Participant8[] =            {0x04, 0xbe, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Frode char Participant9[] =             {0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10};
#define Robert char Participant10[] =           {0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20};
#endif

#ifdef A1C
#define Bent char Participant1[] =              {0x04, 0xc3, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Mie char Participant2[] =                 {0x04, 0xc2, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Jonas char Participant3[] =         {0x04, 0xc5, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Inge char Participant4[] =                 {0x04, 0xc4, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Maja char Participant5[] =             {0x04, 0xc1, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Joergen char Participant6[] =               {0x04, 0xc0, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Nikolaj char Participant7[] =            {0x04, 0xc7, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Malthe char Participant8[] =           {0x04, 0xc6, 0xc0, 0xb9, 0xca, 0x02, 0x80};
#define Frode char Participant9[] =              {0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10};
#define Robert char Participant10[] =           {0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20};
#endif



public:
    explicit DummyData(QObject *parent = 0);
    bool getTagData(QByteArray tagId, Participant::TagType &participantType, QString &name, Participant::StatusType &paticipantStatus);
    bool getActivityData(Participant *organiser, QString &name, QTime &activityStartTime, QTime &activityStopTime, int &activityTimeout);
    void getParticipantsStart();
    Participant *getParticipant();

    QList<Participant*> participants;
    QList<Activity*> activities;

signals:

public slots:
private:
    int count;
};

#endif // DUMMYDATA_H
